{% extends "model.html" %}
{% block title %}
    学生管理界面
{% endblock %}
{% block content %}
    <div class="container">
        <div class="panel panel-default">
            <div class="panel-heading">
                <h3 class="panel-title">学生管理</h3>
            </div>
            <div class="panel-body">
                <table class="table table-hover">
                    <thead>
                    <tr>
                        <th>姓名</th>
                        <th>学号</th>
                        <th>操作</th>
                    </tr>
                    </thead>
                    <tbody>{% for obj in form %}
                        <tr>

                            <th>{{ obj.name }}</th>
                            <th>{{ obj.account }}</th>
                            <th><a href="/student/{{ obj.account }}/find/" class="btn btn-default">查看</a></th>

                        </tr>{% endfor %}
                    </tbody>
                </table>
            </div>
        </div>
    <nav aria-label="Page navigation">
  <ul class="pagination">
    <li>
      <a href="#" aria-label="Previous">
        <span aria-hidden="true">&laquo;</span>
      </a>
    </li>
      {{ page_string }}
      <a href="#" aria-label="Next">
        <span aria-hidden="true">&raquo;</span>
      </a>
    </li>
  </ul>
</nav>
    </div>
{% endblock %}